<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" import="java.util.*,com.telecom.cms.service.*,com.telecom.cms.dto.*"%>
<HTML>
	<HEAD>
		<TITLE></TITLE>

		<META http-equiv=Content-Type content="text/html; charset=utf-8">
		<LINK href="css/left.css" rel=stylesheet>
	</HEAD>
	<body>

<%
  if(request.getParameter("mmenuid")!=null){
     CampMenuMgr mgr=new CampMenuMgr();
     List leftmenugrouplist=mgr.findleftmenugroupbyid(request.getParameter("mmenuid"));
     List sltleftmenulist=mgr.findallsltleftmenu(request.getSession().getAttribute("User_Auth").toString());
     for(int i=0;i<leftmenugrouplist.size();i++)
     {
        //out.println(i);
        CampLeftMenuGroup inst=(CampLeftMenuGroup)leftmenugrouplist.get(i);
        List leftmenulist=mgr.findleftmenubygroupid(""+inst.getMenuGroupId());
         //out.println(leftmenulist.size());
 %>
		<table height="157" cellspacing="0" cellpadding="0" width="194"
			border="0">
			<tbody>
				<tr>
					<td width="3" height="31">
						<img height="31" src="images/table_01.gif" width="3">
					</td>
					<td background="images/table_02.gif" colspan="2" height="31">
						<table cellspacing="0" cellpadding="0" width="146" align="left"
							border="0">
							<tbody>
								<tr>
									<td width="51" background="images/title_1_bg.gif">
										<img height="31" src="images/title_1.gif" width="51">
									</td>
									<td width="95" background="images/title_1_bg.gif">
										<span class="color_b_666"><%=inst.getMenuGroupName() %></span>
									</td>
								</tr>
							</tbody>
						</table>
					</td>
					<td width="3">
						<img height="31" src="images/table_03.gif" width="3">
					</td>
				</tr>
				<tr>
					<td background="images/table_04.gif" height="123">
						<img height="53" src="images/table_04.gif" width="3">
					</td>
					<td style="PADDING-TOP: 3px" valign="top" colspan="2">
						<table width='100%' border='0' cellspacing='0' cellpadding='0'>
						<% for (int j=0;j<leftmenulist.size();j++){
						     CampLeftMenu inst2=(CampLeftMenu)leftmenulist.get(j);
						     //out.println(j);
						      for(int k=0;k<sltleftmenulist.size();k++)
						      {
						          if(((CampLeftMenuAuth)sltleftmenulist.get(k)).getLMenuId()==inst2.getLMenuId()){
						     %>
							<tr>
								<td height='30' background='images/Jrcj_Middle_Line.gif'>
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<img src='images/b_dot_2.gif' width='9' height='9'>
									&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
									<a href='<%=inst2.getLMenuLink() %>' target="<%=inst2.getLMenuTarget() %>">
									<%=inst2.getLMenuName() %></a>
								</td>
							</tr>
						<%  }
						   }
						  }%>	
						</table>
					</td>
					<td background="images/table_05.gif">
						<img height="53" src="images/table_05.gif" width="3">
					</td>
				</tr>
				<tr height="3">
					<td height="3">
						<img height="12" src="images/table_06.gif" width="3">
					</td>
					<td colspan="2" height="3">
						<img height="3" src="images/table_07.gif" width="188">
					</td>
					<td height="3">
						<img height="12" src="images/table_08.gif" width="3">
					</td>
				</tr>
			</tbody>
		</table>
<%
  }
  }
 %>
	</body>
</html>
